package com.example.leetcode.other;

import com.example.leetcode.other.comon.OtherUtils;

class Solution13 {
    public int romanToInt(String s) {
        return OtherUtils.romanToInt(s);
    }
}

public class leetcode13 {
    public static void main(String[] args) {
        Solution13 solution13 = new Solution13();
        System.out.println(solution13.romanToInt("I"));
        System.out.println(solution13.romanToInt("III"));
        System.out.println(solution13.romanToInt("IV"));
        System.out.println(solution13.romanToInt("IX"));
        System.out.println(solution13.romanToInt("LVIII"));
        System.out.println(solution13.romanToInt("MCMXCIV"));
        System.out.println(solution13.romanToInt("MMMCMXCIX"));
    }

}
